-
Notifications
You must be signed in to change notification settings - Fork 119
Rebase kubernetes 1.7.6 #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…vider Previously, if the kubelet tried to register itself with the API server, and was rejected due to the external ID changing, it would delete the node object and recreate it. This commit causes it to tolerate a change in ExternalID when the ExternalID is not being provided by a cloud provider, assuming the new ExternalID is either the node's (metadata) name, or one of node's addresses. :100644 100644 0c4fdc1... 8deaa82... M pkg/kubelet/kubelet.go
:100644 100644 b32534e... 3e694fc... M pkg/controller/serviceaccount/tokens_controller.go
Doesn't offer enough use, complicates creation and setup.
We don't run system pods so waiting for them is somewhat pointless
Build is currently broken in at least one major way:
|
origin.sha
Outdated
@@ -0,0 +1 @@ | |||
9009938f67 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed, we need to create this at the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still outstanding
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
origin.sha
Outdated
@@ -1 +1 @@ | |||
9009938f67 | |||
87ceff292ab199dc902b52f942951f1b7b88e4fa |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not needed either.
3d4044b
to
be7153e
Compare
This needs ironcladlou#25 to merge in and then it'll be ready for merge to fork. |
pkg/api/v1/zz_generated.deepcopy.go
Outdated
@@ -1,20 +1,4 @@ | |||
// +build !ignore_autogenerated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should drop this commit and regenerate at the end
@@ -71,7 +71,7 @@ func init() { | |||
addControllerRole(rbac.ClusterRole{ | |||
ObjectMeta: metav1.ObjectMeta{Name: saRolePrefix + "cronjob-controller"}, | |||
Rules: []rbac.PolicyRule{ | |||
rbac.NewRule("get", "list", "watch", "update").Groups(batchGroup).Resources("cronjobs").RuleOrDie(), | |||
rbac.NewRule("get", "list", "watch", "update", "delete").Groups(batchGroup).Resources("cronjobs").RuleOrDie(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this commit needs repicking... this isn't the permission we ended up granting upstream
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squashed
@@ -50,7 +50,6 @@ import ( | |||
"k8s.io/kubernetes/pkg/volume/local" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two should cancel and be able to be dropped:
UPSTREAM: <drop>: hack out portworx to avoid double proto registration
UPSTREAM: revert: dcb5eef2d8a6d14816d8d1f767f0d0016b84dcdf: "UPSTREAM: <drop>: hack out portworx to avoid double proto registration"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
test/e2e/examples.go
Outdated
@@ -72,7 +72,7 @@ var _ = framework.KubeDescribe("[Feature:Example]", func() { | |||
|
|||
// this test wants powerful permissions. Since the namespace names are unique, we can leave this | |||
// lying around so we don't have to race any caches | |||
framework.BindClusterRoleInNamespace(c.Rbac(), "edit", f.Namespace.Name, | |||
framework.BindClusterRoleInNamespace(c.RbacV1beta1(), f.ClientPool, "edit", f.Namespace.Name, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two should cancel and be able to both be dropped:
UPSTREAM: revert: c502d10: <carry>: match kube rbac setup in e2es with openshift kinds
UPSTREAM: <carry>: match kube rbac setup in e2es with openshift kinds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
pkg/api/pod/util_patch.go
Outdated
@@ -0,0 +1,26 @@ | |||
package pod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these two should cancel and both be able to be dropped:
UPSTREAM: Revert "UPSTREAM: <drop>: keep old pod available"
UPSTREAM: <drop>: keep old pod available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
pkg/kubectl/cmd/util/factory_test.go
Outdated
@@ -746,14 +746,12 @@ func TestDiscoveryReplaceAliases(t *testing.T) { | |||
{ | |||
name: "all-replacement", | |||
arg: "all", | |||
expected: "buildconfigs,builds,imagestreams,deploymentconfigs,pods,replicationcontrollers,services,statefulsets.apps,horizontalpodautoscalers.autoscaling,jobs.batch,deployments.extensions,replicasets.extensions", | |||
// expected: "buildconfigs,builds,imagestreams,deploymentconfigs,deployments,horizontalpodautoscalers,replicationcontrollers,routes,services,statefulsets,jobs,replicasets,pods", | |||
expected: "pods,replicationcontrollers,services,statefulsets.apps,horizontalpodautoscalers.autoscaling,jobs.batch,deployments.extensions,replicasets.extensions", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squash these commits:
UPSTREAM: <drop>: restore normal alias test
UPSTREAM: <drop>: add origin resource shortcuts to kube shortcut restmapper
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Squashed
@@ -138,10 +138,10 @@ func TestProxyHandler(t *testing.T) { | |||
apiService: &apiregistration.APIService{ | |||
ObjectMeta: metav1.ObjectMeta{Name: "v1.foo"}, | |||
Spec: apiregistration.APIServiceSpec{ | |||
Service: &apiregistration.ServiceReference{}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop this commit completely, this got merged upstream and the secure test is below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
pkg/api/types.go
Outdated
@@ -1580,6 +1580,9 @@ const ( | |||
// Capability represent POSIX capabilities type | |||
type Capability string | |||
|
|||
// CapabilityAll represent all POSIX capabilities types. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop these (they cancel):
UPSTREAM: <carry>: allow to use * as a capability in Security Context
UPSTREAM: revert: 1b2aacbd4010757b6978ddc40bfc8d89495c89dd: <carry>: allow to use * as a capability in Security Context Constraints.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
@@ -0,0 +1,28 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop both of these (they cancel):
UPSTREAM: <drop>: drop post 3.7 rebase. allows disabled aggregator
UPSTREAM: revert: 7fc9d38a7a: <drop>: drop post 3.7 rebase. allows disabled aggregator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
@@ -251,18 +251,20 @@ func (c completedConfig) NewWithDelegate(delegationTarget genericapiserver.Deleg | |||
return nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop both of these, they cancel:
UPSTREAM: revert: fbf1f04: <drop>: disable openapi aggregation
UPSTREAM: <drop>: disable openapi aggregation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dropped
:100644 100644 74a5174... aa6f711... M cmd/cloud-controller-manager/app/options/options.go :100644 100644 28f906e... 49f7932... M cmd/cloud-controller-manager/controller-manager.go :100644 100644 4e77a7f... 7d071da... M cmd/kube-controller-manager/app/controllermanager.go :100644 100644 dec8d1f... be69e12... M cmd/kube-controller-manager/app/options/options.go :100644 100644 4c99e4a... a42543a... M pkg/apis/componentconfig/types.go :100644 100644 2fb837b... 0074fe3... M pkg/cloudprovider/cloud.go :100644 100644 a55061a... 5ab1b9e... M pkg/cloudprovider/providers/aws/aws.go :100644 100644 3d05185... bb63fce... M pkg/cloudprovider/providers/aws/tags.go :100644 100644 ca2e48b... 1b4e645... M pkg/cloudprovider/providers/azure/azure.go :100644 100644 f8e2b3f... 1b86d82... M pkg/cloudprovider/providers/cloudstack/cloudstack.go :100644 100644 dcca77f... a92c2d9... M pkg/cloudprovider/providers/fake/fake.go :100644 100644 90e2570... 0086678... M pkg/cloudprovider/providers/gce/gce.go :100644 100644 9462ff0... 3670813... M pkg/cloudprovider/providers/mesos/mesos.go :100644 100644 08a3556... 5073cf4... M pkg/cloudprovider/providers/openstack/openstack.go :100644 100644 8273c0b... 496c444... M pkg/cloudprovider/providers/ovirt/ovirt.go :100644 100644 f33e9c2... dd7b065... M pkg/cloudprovider/providers/photon/photon.go :100644 100644 cf6ca3d... 21782f4... M pkg/cloudprovider/providers/rackspace/rackspace.go :100644 100644 63383a0... 35d6088... M pkg/cloudprovider/providers/vsphere/vsphere.go
UPSTREAM: 49117: Add apiserver metric for response sizes split by namespace scope UPSTREAM: 49678: Report non-resource URLs in max-in-flight correctly UPSTREAM: 49678: Timeout filter returns 504 and an inconsistent error body UPSTREAM: 50123: Report pod logs as CONNECT in metrics UPSTREAM: 52237: Add scope to all apiserver metrics and report resource scope :100644 100644 a787797... cb63725... M pkg/registry/core/pod/rest/log.go :100644 100644 d856440... 435a746... M staging/src/k8s.io/apiserver/pkg/endpoints/handlers/proxy.go :100644 100644 7a412a3... 9651c6f... M staging/src/k8s.io/apiserver/pkg/endpoints/installer.go :100644 100644 2b5a3e0... 0671314... M staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics.go :100644 100644 989517c... 07696d3... M staging/src/k8s.io/apiserver/pkg/endpoints/request/requestinfo.go :100644 100644 77aa7d0... 612678c... M staging/src/k8s.io/apiserver/pkg/server/filters/BUILD :100644 100644 b5192bc... a0208ed... M staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight.go :100644 100644 79e185e... fc302b2... M staging/src/k8s.io/apiserver/pkg/server/filters/maxinflight_test.go :100644 100644 19894b4... 6bc496b... M staging/src/k8s.io/apiserver/pkg/server/filters/timeout.go :100644 100644 9914272... 6283a6c... M staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go
:100644 100644 7a97202... 37f6ee0... M pkg/controller/volume/attachdetach/attach_detach_controller.go :100644 100644 5525301... 3aaf715... M pkg/controller/volume/attachdetach/cache/actual_state_of_world.go :100644 100644 88ae500... 81e5653... M pkg/controller/volume/attachdetach/cache/actual_state_of_world_test.go :100644 100644 ec01191... 12da11b... M pkg/controller/volume/attachdetach/reconciler/reconciler_test.go
:100644 100644 b6045ab... 223ef46... M cmd/kubelet/app/server.go :100644 100644 49f641a... 9f4753b... M pkg/kubelet/cadvisor/BUILD :100644 100644 8f8b3e8... a8020a5... M pkg/kubelet/cadvisor/cadvisor_linux.go :100644 100644 d28d71f... 7dbbde8... M pkg/kubelet/cadvisor/cadvisor_unsupported.go :100644 100644 4de44d7... 0033f92... M pkg/kubelet/cadvisor/cadvisor_windows.go :100644 100644 2a97ba3... 9ad6267... M pkg/kubelet/cadvisor/types.go :100644 100644 bd30c66... 42248f6... M pkg/kubelet/cadvisor/util.go :100644 100644 ce50a10... 32f3f6a... M test/e2e_node/environment/conformance.go
:100644 100644 9f4753b... c5de9da... M pkg/kubelet/cadvisor/BUILD :100644 100644 7dbbde8... be42d39... M pkg/kubelet/cadvisor/cadvisor_unsupported.go :100644 100644 0033f92... 404dd05... M pkg/kubelet/cadvisor/cadvisor_windows.go :000000 100644 0000000000... a9e88b5... A pkg/kubelet/cadvisor/helpers_linux.go :000000 100644 0000000000... af90f15... A pkg/kubelet/cadvisor/helpers_unsupported.go :100644 100644 42248f6... bd30c66... M pkg/kubelet/cadvisor/util.go
:100644 100644 b85f6c8... d1dfa73... M staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go :100644 100644 b5f310a... 528b709... M staging/src/k8s.io/apiserver/pkg/server/options/audit.go :100644 100644 82005d6... 897aa13... M staging/src/k8s.io/apiserver/plugin/pkg/audit/log/BUILD :100644 100644 9f38180... dec402e... M staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend.go
:100644 100644 526710c... 78082d2... M staging/src/k8s.io/apiserver/pkg/audit/policy/checker.go :100644 100644 3c52d52... c5340c8... M staging/src/k8s.io/apiserver/pkg/endpoints/filters/BUILD :100644 100644 9ff9c45... 2de7bc1... M staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go :000000 100644 0000000000... a3c192f... A staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit.go :000000 100644 0000000000... fb9eeeb... A staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit_test.go :100644 100644 87a8251... 78fa466... M staging/src/k8s.io/apiserver/pkg/server/config.go
2c4da71
to
a08f5ee
Compare
Addressed all comments (I think), and added a new commit at the end with new code generation results. PTAL. |
edit: we don't need it, and I asked you to drop it. carry on. |
LGTM |
are tests passing on this branch? if so, let's pull this into the origin branch, and get LGTM/green there before merging this |
@liggitt double checking, if yes I'll merge it in. |
Double checked it works fine. The only problem I've struggled was related to failures in integration tests which were cause by the low open files limit. After I bumped it to 102400 the integration suite passed. Merging. |
🚀 |
Rebase for kubernetes 1.7.6.
/cc @deads2k @soltysh